package top.atluofu.luofuecommerce.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import top.atluofu.common.to.es.SkuEsModel;
import top.atluofu.common.utils.R;

import java.util.List;

/**
 * @ClassName: SearchFeignService
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-11Month-15Day-21:24
 * @Version: 1.0
 */
@FeignClient("luofuecommerce-search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
